<script>
	import Vue from 'vue';
	export default {
		onLaunch: function() {
			uni.getSystemInfo({
				success(e) {
					Vue.prototype.statusBarHeight = e.statusBarHeight;
					// 屏幕可用高度 去除上下安全距离
					Vue.prototype.scrollHeight = e.safeArea.height;
				}
			});
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import '@/uni_modules/uview-ui/index.scss';
	/*每个页面公共css */
	// 引入iconfont
	@import "@/static/css/iconfont.css";
</style>
